/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.view.tutorial.action;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import vical.model.Internationalization;
import vical.view.tutorial.*;

/**
 * The action to perform a tutorial of how to delete a task
 * 
 * @author Can
 */
public class TutorialDeleteTaskAction extends AbstractAction {

    TutorialContainer container;

    public TutorialDeleteTaskAction(TutorialContainer container) {
        // TODO: language, Monica
        //super(Internationalization.getString("tutorial_how_to_add_task"));
        super("How to delete an entry?");
        this.container = container;
    }

    public void actionPerformed(ActionEvent e) {
        container.setGlassTutorial(new TutorialDeleteTask(container));
    }
}
